package mud.repository;

import mud.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserRepository extends MongoRepository<User,String>{
    User findByUid(String uid);
    User findByName(String name);
    List<User> findByNameContaining(String name);
}
